using System.IO;
using System.Threading;
using System.Threading.Tasks;

namespace RBAC.Write.Api.Infrastructure.Storage
{
    public interface IObjectStorage
    {
        Task<string> UploadAsync(
            string bucket,
            string objectName,
            Stream data,
            long size,
            string contentType,
            CancellationToken cancellationToken = default);
    }
}
